<STYLE type="text/css">
.payments-edit-left {
	position: absolute; top: 10px; left:10px; bottom: 10px; width: 120px;
}
.payments-edit-right-top {
	position: absolute; top: 10px; left:140px; height: 140px; right: 10px;
}
.payments-edit-right-bottom {
	position: absolute; top: 142px; left:140px; bottom: 10px; right: 10px;
}
.payments-edit-left #job_type_list {
	display: block;
	position: absolute; top: 12px; left:0; bottom: 2px; right: 0;
}
div#job_type_list li span a { font-size:11px; }
 
</STYLE>
	<div class="payments-edit-left form">
		<label>Виды работ</label>
		<div id="job_type_list" class="ui-widget-content">
		</div>
	</div>
	<div class="payments-edit-right-top form">
		<TABLE>
			<TR><TD style="width:132px;"><label>Категория</label></TD><TD style="width:102px;"><label>Шифр работы</label></TD><TD></TD></TR>
			<TR><TD><select id="job_cat_id" name="cat_id" style="height:24px;width:130px;">
				<option value="0">Выберите ...</option>
				{foreach $data as $entry}
					<option value="{$entry->value}">{$entry->name}</option>			
				{/foreach}
				</select></TD>
				<TD><input type="text" id="job_type_code" name="art_code" maxlength="16" style="height:18px;width:100px;"></TD>
				<TD>
					<button id="job_type_insert">Добавить</button>
					<button id="job_type_update">Изменить</button>
					<button id="job_type_delete">Удалить</button>
					<button id="job_type_clear">Очистить</button>
				</TD>
			</TR>
			<TR><TD colspan="3">
				<label>Описание</label>
				<textarea id="job_type_descrip" name="art_descrip" 
					style="resize:none; width:580px;height:48px;overflow:auto;"></textarea>
			</TD></TR>
		</TABLE>
		<label>Виды баланса и платежей</label>
	</div>
	<div id="job_type_tabs" class="payments-edit-right-bottom">
		<ul>
			<li><a href="#job_type_balance">Баланс</a></li>
			<li><a href="#job_type_incoming">Приход</a></li>
			<li><a href="#job_type_outlay">Расход</a></li>
		</ul>
		<div id="job_type_balance" style="padding:0;"></div>
		<div id="job_type_incoming" style="padding:0;"></div>
		<div id="job_type_outlay" style="padding:0;"></div>	
	</div>
